﻿// -----------------------------------------------------------------------
// <copyright file="Status.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace HashMaster.Lib
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Runtime.Serialization;
    /// <summary>
    /// 状态枚举
    /// </summary>
    [DataContract(Name = "EnumStatus")]
    public enum EnumStatus
    {
        /// <summary>
        /// 任务：未完全分配，子任务：未分配，客户机：闲置
        /// </summary>
        [EnumMember]
        Pending=1,

        /// <summary>
        /// 任务：无，子任务：已分配，客户机：运算中
        /// </summary>
        [EnumMember]
        Started = 2,

        /// <summary>
        /// 任务：无，子任务：被中断，客户机：无响应
        /// </summary>
        [EnumMember]
        Suspend = 3,

        /// <summary>
        /// 任务：全部完成，子任务：完成，客户机：无
        /// </summary>
        [EnumMember]
        Finished = 4
    }

    
    
}
